﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="../jsext.min.js" charset="utf-8"></script>
    <script type="text/javascript">
        document.write("'aaabccdeaabaaa'.trim('a')-->" + 'aaabccdeaabaaa'.trim('a'));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trim(['a', 'b'])-->" + 'aaabccdeaabaaa'.trim(['a', 'b']));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trim('a', 'b')-->" + 'aaabccdeaabaaa'.trim('a', 'b'));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimStart('a')-->" + 'aaabccdeaabaaa'.trimStart('a'));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimStart(['a', 'b'])-->" + 'aaabccdeaabaaa'.trimStart(['a', 'b']));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimStart('a', 'b')-->" + 'aaabccdeaabaaa'.trimStart('a', 'b'));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimEnd('a')-->" + 'aaabccdeaabaaa'.trimEnd('a'));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimEnd(['a', 'b'])-->" + 'aaabccdeaabaaa'.trimEnd(['a', 'b']));
        document.write("<br/>");
        document.write("'aaabccdeaabaaa'.trimEnd('a', 'b')" + 'aaabccdeaabaaa'.trimEnd('a', 'b'));

    </script>
</head>
<body>
</body>
</html>